<ul class="am-list">
    <?php if (isset($msgList)) foreach ($msgList as $msgObj) { ?>
        <li class="am-list-item" style="padding: 10px 10px;">
            <div style="padding:0px 10px; float: left;">
                <i class="am-icon am-icon-fw am-icon-trophy app-main-color"></i>
            </div>
            <div style="overflow: hidden; zoom: 1;">
                <div>
            <span class="app-black-color">
                <?php
                if ($msgObj->State == 1) {
                    $msgState = '已通过审核，成功加入';
                } elseif ($msgObj->State == -1) {
                    $msgState = '没有通过审核，不能加入';
                } elseif ($msgObj->State == 0) {
                    $msgState = '，等待审核加入';
                }
                if ($msgObj->Type != 2) {
                    $msgWork = '您的';
                } else {
                    $msgWork = '管理员通知信息：';
                }
                echo "{$msgWork}作品《{$msgObj->WorkName}》{$msgState}《{$msgObj->TopicName}》专题"
                ?>
            </span>
                </div>
                <div class="am-text-xs">
                    <span class="app-gray-color"><?php echo $msgObj->MsgDt ?></span>
                </div>
            </div>
        </li>
    <?php } ?>
</ul>
<?php
if (isset($paginateMsg)) {
    echo $paginateMsg;
} //插入分页信息
?>